package org.base.sys.enums;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.base.common.enums.IEnum;

/**
 * @author He mingliang
 * @date 2020/8/1
 */

@Getter
@AllArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum Sex implements IEnum {
    UNKNOWN(0, "保密"),
    MALE(1, "男"),
    FEMALE(2, "女"),
    ;

    private int code;
    private String value;
}